import java.math.BigInteger;


public class Decl_Seq implements Node{
	
	public String name = "<decl_seq>";
	public Node decl;
	public Node decl_seq = null;
	
			
	public Decl_Seq(){
		decl = new Decl();
		
		int token = PSTree.Core_TK.getToken();
		// check if token is "begin"
		if(token != 2){
			decl_seq = new Decl_Seq();
		}
		
		
	}


	@Override
	public void print(int indent) {
		
		this.decl.print(indent);
		
		if(this.decl_seq != null){
			this.decl_seq.print(indent);
		}
		
	}


	
	public void execute() {
		// TODO Auto-generated method stub
		
	}


	@Override
	public BigInteger intexecute() {
		this.decl.intexecute();
		if(this.decl_seq != null)
			this.decl_seq.intexecute();
		return null;
	}


	@Override
	public boolean compexecute() {
		// TODO Auto-generated method stub
		return false;
	}


	@Override
	public String Stringexcec() {
		// TODO Auto-generated method stub
		return null;
	}
}
